package sd.czw.com.mmgapp.model.personalbean;

import java.util.List;

/**
 * Created by czw
 * desc 描述：
 * on 2017/7/14.
 */
public class YHJModel {

    /**
     * errcode : 1
     * errmsg : [{"bonus_id":"194700","type_name":"10元优惠券","type_money":"10.00","min_goods_amount":"0.00","status":"未使用","use_startdate":"2017-07-14","use_enddate":"2017-09-12 13:06:26"}]
     */

    private int errcode;
    /**
     * bonus_id : 194700
     * type_name : 10元优惠券
     * type_money : 10.00
     * min_goods_amount : 0.00
     * status : 未使用
     * use_startdate : 2017-07-14
     * use_enddate : 2017-09-12 13:06:26
     */

    private List<ErrmsgBean> errmsg;

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public List<ErrmsgBean> getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(List<ErrmsgBean> errmsg) {
        this.errmsg = errmsg;
    }

    public static class ErrmsgBean {
        private String bonus_id;
        private String type_name;
        private String type_money;
        private String min_goods_amount;
        private String status;
        private String use_startdate;
        private String use_enddate;

        public String getBonus_id() {
            return bonus_id;
        }

        public void setBonus_id(String bonus_id) {
            this.bonus_id = bonus_id;
        }

        public String getType_name() {
            return type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public String getType_money() {
            return type_money;
        }

        public void setType_money(String type_money) {
            this.type_money = type_money;
        }

        public String getMin_goods_amount() {
            return min_goods_amount;
        }

        public void setMin_goods_amount(String min_goods_amount) {
            this.min_goods_amount = min_goods_amount;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getUse_startdate() {
            return use_startdate;
        }

        public void setUse_startdate(String use_startdate) {
            this.use_startdate = use_startdate;
        }

        public String getUse_enddate() {
            return use_enddate;
        }

        public void setUse_enddate(String use_enddate) {
            this.use_enddate = use_enddate;
        }
    }
}
